package cn.b.sky.user.dao;

import cn.b.sky.user.service.model.Menu;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface MenuTranslationDao {

  List<Menu> getTargetMenuListByCode(@Param("siteCode") String siteCode, @Param("menuCode") String menuCode,
                                     @Param("sourceLanguage") String sourceLanguage, @Param("targetLanguage") String targetLanguage);

  Menu selectTargetMenu(Menu menu);

  void insertTargetMenu(Menu menu);

  void updateTargetMenu(Menu menu);

  void deleteTargetMenu(Menu menu);
}
